package com.travel.pojo.user;

import java.util.Date;

public class Sign {

    private int id;
    private int userid;
    private int mark;
    private int sum_count;
    private Date signtime;
    private int continuity_count;

    public Sign() {
    }

    public Sign(int id, int userid, int mark, int sum_count, Date signtime, int continuity_count) {
        this.id = id;
        this.userid = userid;
        this.mark = mark;
        this.sum_count = sum_count;
        this.signtime = signtime;
        this.continuity_count = continuity_count;
    }

    public Sign(int userid, int mark, int sum_count, Date signtime, int continuity_count) {
        this.userid = userid;
        this.mark = mark;
        this.sum_count = sum_count;
        this.signtime = signtime;
        this.continuity_count = continuity_count;
    }


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public int getMark() {
        return mark;
    }

    public void setMark(int mark) {
        this.mark = mark;
    }

    public int getSum_count() {
        return sum_count;
    }

    public void setSum_count(int sum_count) {
        this.sum_count = sum_count;
    }

    public Date getSigntime() {
        return signtime;
    }

    public void setSigntime(Date signtime) {
        this.signtime = signtime;
    }

    public int getContinuity_count() {
        return continuity_count;
    }

    public void setContinuity_count(int coutinuty_count) {
        this.continuity_count = coutinuty_count;
    }

    @Override
    public String toString() {
        return "Sign{" +
                "id=" + id +
                ", userid=" + userid +
                ", mark=" + mark +
                ", sum_count=" + sum_count +
                ", signtime=" + signtime +
                ", coutinuty_count=" + continuity_count +
                '}';
    }
}
